import departments from './departments.vue'
import departmentsAdd from './departmentsAdd.vue'
import departmentsEdit from './departmentsEdit.vue'

const components = [
  departments,
  departmentsAdd,
  departmentsEdit
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}
export default main
